package alipay.openplatform.edu.campus.jiuye.dao.mappers.topic;

import alipay.openplatform.edu.campus.jiuye.model.po.TopicCityInfoPO;
import alipay.openplatform.edu.campus.jiuye.model.po.TopicCityInfoKeyPO;
import alipay.openplatform.edu.campus.jiuye.model.vo.CityVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TopicCityInfoMapper {
    int deleteByPrimaryKey(TopicCityInfoKeyPO key);

    int insert(List<TopicCityInfoPO> topicCityInfoPOs);

    int insertSelective(TopicCityInfoPO record);

    List<TopicCityInfoPO> selectByTopicId(Integer topicId);

    int updateByPrimaryKeySelective(TopicCityInfoPO record);

    int updateByPrimaryKey(List<TopicCityInfoPO> cityInfoPOs);

    void deleteByTopicId(Integer topicId);


    TopicCityInfoPO selectByTopicIdAndCityid(@Param("topicId")String topicId,@Param("cityId")String cityId);
}